// $Rev: 130 $

#ifndef SOURCE_H
#define SOURCE_H

#include <string>

class Source {
	public:
		const std::string &get_address() const {return remote_address;}
		void set_address(std::string address) {remote_address = address;}
		bool is_address_valid() const {
			return remote_address.find(':') != std::string::npos;
		}
	protected:
		~Source() {};
	private:
		std::string remote_address;
};

#endif
